package com.cskaoyan.bean.vo.vxVo.comment;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 该类用于向客户端返回信息;  CommentPostVo; 需要将该对象放入 BaseRespVo;
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/8 09:30
 */

@Data
public class CommentPostVo {
    private Integer id;
    private Integer valueId;
    private Integer type;
    private String content;
    private Integer userId;
    private Boolean hasPicture;
    private List<String> picUrls;
    private Integer star;
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
